package demo3;

interface Out {
    public void test();
}

public class Main_4 {
    public static void main(String[] args) {
        Out out = new Out(){
            public void test(){
                System.out.println("哈哈哈");
            }
        };
        out.test();
    }
}
